#include "mainwindow.h"
#include "helper/appinit.h"
#include <QApplication>
#include <helper/qthelper.h>
///首页显示
int main(int argc, char *argv[])
{
    QtHelper::initMain();
    QApplication a(argc, argv);
    AppInit::Instance()->start();

    QtHelper::setFont();
    QtHelper::setCode();
    //加载样式表
    QtHelper::setStyle(":/qss/base.css");

    MainWindow w;
    //设置居中显示

    w.show();
    return a.exec();
}
